package poker;

import java.util.ArrayList;
import java.util.List;

public class Poker {
    //一副牌
    private static final String[] brand = {"♠","♥","♣","♦"};
    public List<Brand> initialization() {
        List<Brand> poker = new ArrayList<>();
        for (int i = 0; i < 4; i++) {
            for (int j = 1; j < 14; j++) {
                String color = brand[i];
                int tmp = j;
                Brand brand = new Brand(color,tmp);
                poker.add(brand);
            }
        }
        Brand brand1 = new Brand("大王",0);
        Brand brand2 = new Brand("小王",0);
        poker.add(brand1);
        poker.add(brand2);

        return poker;
    }
}
